/*
 * Copyright 2017-8-30 13:56:25 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.scp.admin.core;

import java.util.List;

import com.lap.scd.commons.core.exception.ManagerException;
import com.lap.scd.commons.page.Page;
import com.lap.scp.admin.domain.ConfigDO;
import com.lap.scp.admin.query.ConfigQueryDO;
/**
 * <pre>
 *  //TODO 注释
 * </pre>
 * 
 * @author 系统自动生成 Exp
 * @Date 2017-8-30 13:56:25
 * @since 1.0
 */
public interface ConfigManager {
	/**
     * 根据ID删除数据信息
     * 
     * @param configId
     * @return 改变数量
     */
    int deleteById(int configId) throws ManagerException;
	
	/**
     * 新增
     *
     * @param configDO
     */
    void insertConfig(ConfigDO configDO) throws ManagerException;
	
	/**
     * 根据ID查询数据信息
     *
     * @param configId
     * @return ConfigDO
     */
    ConfigDO queryById(int configId) throws ManagerException;
	
	/**
     * 分页查询数据信息
     *
     * @param page
     * @param queryDO
     * @return 数据集合
     */
    List<ConfigDO> queryPage(Page page, ConfigQueryDO queryDO) throws ManagerException;
	
	/**
     * 根据ID修改
     *
     * @param configDO
     * @return
     */
    int updateConfig(ConfigDO configDO) throws ManagerException;
	
	
}
